<#include "macro/layout.ftl" />
<@layout title="新用户注册">
    <div class="row">
        <form class="form-horizontal col-md-8 col-md-offset-2" action="${request.contextPath}/user/register-action" method="post">
            <div class="page-header">
                <h4>用户注册</h4>
            </div>
            <p>


                <div class="form-group">
                    <label for="code" class="col-sm-2 control-label">用户名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="code" id="code" value="syang" placeholder="用户名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="nick" class="col-sm-2 control-label">昵称</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="nick" id="nick" value="萝卜先生" placeholder="昵称">
                    </div>
                </div>
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">真实姓名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" id="name" value="杨松" placeholder="真实姓名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="email" class="col-sm-2 control-label">邮箱地址</label>
                    <div class="col-sm-10">
                        <input type="email" class="form-control" name="email" id="email" value="syang@amarsoft.com"  placeholder="邮箱地址">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" name="password" id="password" value="Ro000000"  placeholder="密码">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password2" class="col-sm-2 control-label">确认密码</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" id="password2" placeholder="确认密码">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">阅读并接受《用户协议》
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-6">
                        <button type="submit" class="center-block btn btn-success">提交注册</button>
                    </div>
                </div>
            </p>
        </form>
    </div>
</@layout>